package com.briup.ch07;

/**
 * @Author briup-adam
 * @Date 2023/10/10 上午10:28
 * @Description
 **/

public abstract class Animal2 {
    private String name;

    public Animal2(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
